<style>
    .ecg-btn{
        margin-left:20px;
        width:100px;
        display:inline-block;
        border:none
    }
    .boack{
        position: absolute;
        left: 0px;
        top: 140px;
        width: 1000px;
        height: 1300px;
    }
</style>
<div id="ecg" ng-controller="ecgController" style="padding-top:24px">
    <form class="form-inline">
        <div class="form-group">
            <label for="datetimepicker">时间</label>
            <input type="text" class="form-control" value="2017-05-04"  id="datetimepicker">
        </div>
        <button type="button" ng-click="queryBtn()"  class="ecg-btn form-control btn btn-info">查询</button>
    </form>
    <script>
        $("#datetimepicker").datetimepicker({
            language:  'zh',
            minView: "month",//设置只显示到月份
            format : "yyyy-mm-dd",//日期格式
            autoclose:true,//选中关闭
            todayBtn: true//今日按钮
        });
    </script>

    <hr>
    <div class="query-from" style="display: none">
        网格：<input type="checkbox" id="chkshowgrid" checked="checked" ng-click="showgrid()" />显示网格
        灵敏度：
        <!-- 0=5mm/mV，1=10mm/mV,2=20mm/mV,3=30mm/mV -->
        <input type="radio" name="radadu" value="0.5" />5mm/mV
        <input type="radio" name="radadu" value="1" checked="checked" />10mm/mV
        <input type="radio" name="radadu" value="2" />20mm/mV
        导联：
        <!-- I,II,III,aVR,aVL,aVF,V1,V2,V3,V4,V5,V6 -->
        <input type="checkbox" name="chkecg" value="0" checked="checked"/>I
        <input type="checkbox" name="chkecg" value="1" checked="checked"/>II
        <input type="checkbox" name="chkecg" value="2" checked="checked"/>III
        <input type="checkbox" name="chkecg" value="3" checked="checked"/>aVR
        <input type="checkbox" name="chkecg" value="4" checked="checked"/>aVL
        <input type="checkbox" name="chkecg" value="5" checked="checked"/>aVF
        <input type="checkbox" name="chkecg" value="6" checked="checked"/>V1
        <input type="checkbox" name="chkecg" value="7" checked="checked"/>V2
        <input type="checkbox" name="chkecg" value="8" checked="checked"/>V3
        <input type="checkbox" name="chkecg" value="9" checked="checked"/>V4
        <input type="checkbox" name="chkecg" value="10" checked="checked"/>V5
        <input type="checkbox" name="chkecg" value="11" checked="checked"/>V6
        <input id="btsave" type="button" value="保存" ng-click="saveclick()" />
    </div>
    </div>

<div id='LogContainer'>
</div>
<div class="boack">
    <canvas id="background" width="1150" height="1300" style="margin-left: 20px">
    </canvas>
</div>
<div class="boack">
    <canvas id="line" width="1150" height="1300" style="margin-left: 20px">
    </canvas>
</div>
